package com.tmsps.ne4weixin.bean.message.custom;

import com.tmsps.ne4weixin.bean.message.custom.vo.WxCard;
import com.tmsps.ne4weixin.config.enumeration.MsgTypeEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @Title: WxCardMessage.java
 * @Package: com.tmsps.ne4weixin.bean.custom
 * @Description: 客服消息-发送卡券
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WxCardMessage extends BaseMessage {

	/**
	 * 卡券内容
	 */
	private WxCard wxcard;
	
	public WxCardMessage(String touser) {
		super(touser, MsgTypeEnum.WXCARD);
	}
	
	public WxCardMessage(String touser, String card_id) {
		super(touser, MsgTypeEnum.WXCARD);
		this.wxcard = new WxCard(card_id);
	}
	
	public WxCardMessage(String touser,WxCard wxcard) {
		super(touser, MsgTypeEnum.WXCARD);
		this.wxcard = wxcard;
	}
}
